package ar.edu.itba.it.pdc.configuration.models.filters.originFilters;

import ar.edu.itba.it.pdc.configuration.models.Request;

public class OriginOSFilter extends OriginFilter{
	
	private String OS;
	
	public OriginOSFilter(String OS) {
		this.OS = OS;
	}
	
	public boolean applyFilter(Request req) {
		return !OS.equals(req.getOS());
	}
	
	@Override
	public String getContent() {
		return OS;
	}
	
	@Override
	public String getCriteria() {
		return "OS";
	}
	
}
